package com.tc.quartz.server.core.bean;

import java.io.Serializable;

/**
 * 基本job日志类
 * @author yongjin.ye
 *
 */
public class JobRunLogBean implements Serializable {

	private static final long serialVersionUID = 1L;

	private Integer id;    //自增
	private String fireInstanceName;    //触发实例name
	private String schedName;    //调度器名称
	private String jobGroup;    //任务所属组
	private String jobName;    //任务名称
	private String jobDesc;    //任务描述
	private Long planFireTime;    //计划触发时间
	private Long runStartTime;    //实际开始时间
	private Long runEndTime;    //实际结束时间
	private Long runUsedTime;    //运行耗时 单位：毫秒
	private String resultCode;    //运行结果code 00成功, 01重复执行, 10 NoCalss, 99未知异常
	private String resultMsg;    //运行结果描述
	private String remark;    //备注 一般存放job运行时候的信息和异常信息
	
	private String jobClassName;	//'CLASS名称',
	private String jobDataMap;		//'JOB运行参数',
	private String triggerType;		//'触发类型（CRON、SIMPLE、CRON_REPEAT、SIMPLE_REPEAT）',
	private Long nextFireTime;		//'计划下次触发时间

	
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getFireInstanceName() {
		return fireInstanceName;
	}
	public void setFireInstanceName(String fireInstanceName) {
		this.fireInstanceName = fireInstanceName;
	}
	public String getSchedName() {
		return schedName;
	}
	public void setSchedName(String schedName) {
		this.schedName = schedName;
	}
	public String getJobGroup() {
		return jobGroup;
	}
	public void setJobGroup(String jobGroup) {
		this.jobGroup = jobGroup;
	}
	public String getJobName() {
		return jobName;
	}
	public void setJobName(String jobName) {
		this.jobName = jobName;
	}
	public String getJobDesc() {
		return jobDesc;
	}
	public void setJobDesc(String jobDesc) {
		this.jobDesc = jobDesc;
	}
	public String getResultCode() {
		return resultCode;
	}
	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}
	public String getResultMsg() {
		return resultMsg;
	}
	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getJobClassName() {
		return jobClassName;
	}
	public void setJobClassName(String jobClassName) {
		this.jobClassName = jobClassName;
	}
	public String getJobDataMap() {
		return jobDataMap;
	}
	public void setJobDataMap(String jobDataMap) {
		this.jobDataMap = jobDataMap;
	}
	public String getTriggerType() {
		return triggerType;
	}
	public void setTriggerType(String triggerType) {
		this.triggerType = triggerType;
	}
	public Long getPlanFireTime() {
		return planFireTime;
	}
	public void setPlanFireTime(Long planFireTime) {
		this.planFireTime = planFireTime;
	}
	public Long getRunStartTime() {
		return runStartTime;
	}
	public void setRunStartTime(Long runStartTime) {
		this.runStartTime = runStartTime;
	}
	public Long getRunEndTime() {
		return runEndTime;
	}
	public void setRunEndTime(Long runEndTime) {
		this.runEndTime = runEndTime;
	}
	public Long getRunUsedTime() {
		return runUsedTime;
	}
	public void setRunUsedTime(Long runUsedTime) {
		this.runUsedTime = runUsedTime;
	}
	public Long getNextFireTime() {
		return nextFireTime;
	}
	public void setNextFireTime(Long nextFireTime) {
		this.nextFireTime = nextFireTime;
	}
	
}
